]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overviewControls: reset any translation when sliding in for drag
authorCosimo Cecchi <cosimoc@gnome.org>
Sun, 17 Feb 2013 20:44:33 +0000 (15:44 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Sun, 17 Feb 2013 20:48:25 +0000 (15:48 -0500)
Fixes the dash not sliding when dragging an app from the search results.

js/ui/overviewControls.js

index 1a0dc3d0b938869073469ccc5dee1d19f550aa9a..4800f4f6af59954a59de066602f5a9e0d7c841e3 100644 (file)
@@ -163,6 +163,7 @@ const SlidingControl = new Lang.Class({
 
     _onDragBegin: function() {
         this.inDrag = true;
+        this.actor.translation_x = 0;
         this.updateSlide();
     },